/* Copyright (C) 2021 minglong@iscas.ac.cn
* 
* Apache License Version 2.0许可头：
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* 
*    http://www.apache.org/licenses/LICENSE-2.0
* 
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
<template>
  <el-row :gutter="24">
    <el-col :span="24" style="min-height: 450px">
      <div>
        <el-table
          :data="dataSig"
          :header-cell-style="rowStyle"
          style="width: 100%"
          :cell-style="{ textAlign: 'center' }"
        >
          <el-table-column prop="sig_name" label="SIG名称" width="250">
            <template slot-scope="scope">
              <a :href="scope.row.permalink" target="_blank">{{
                scope.row.sig_name
              }}</a>
            </template>
          </el-table-column>

          <el-table-column prop="gitee_link" label="Gitee主页" width="100">
            <template slot-scope="scope">
              <a :href="scope.row.gitee_link" target="_blank">链接</a>
            </template>
          </el-table-column>

          <el-table-column prop="maillist" label="邮件列表" width="350">
            <template slot-scope="scope">
              <a :href="'mailto:' + scope.row.maillist">{{
                scope.row.maillist
              }}</a>
            </template>
          </el-table-column>

          <el-table-column prop="status" label="状态" width="150">
          </el-table-column>
        </el-table>
      </div>
    </el-col>
  </el-row>
</template>
<script>
import DeviceDevKnowledgeTable from "./DeviceDevKnowledgeTable.vue";
export default {
  components: { DeviceDevKnowledgeTable },
  data() {
    return {
      dataSig: [
        {
          sig_name: "AiFrameworkIntegration",
          permalink: "/SIG/ai_framework_integration/",
          gitee_link: "https://gitee.com/openharmony-sig/ai_framework_integration",
          maillist: "sig-ai_framework_integration@openharmony.io",
          status: "已成立",
        },
        {
          sig_name: "API",
          permalink: "/SIG/api/",
          gitee_link: "https://gitee.com/openharmony/interface_sdk-js",
          maillist: "dev@openharmony.io",
          status: "已成立",
        },
        {
          sig_name: "ApplicationFramework",
          permalink: "/SIG/appframework/",
          gitee_link: "https://gitee.com/openharmony/developtools_ace-js2bundle",
          maillist: "dev@openharmony.io",
          status: "已成立",
        },
        {
          sig_name: "Architecture",
          permalink: "/SIG/architecture/",
          gitee_link: "http://about:blank/",
          maillist: "dev@openharmony.io",
          status: "已成立",
        },
        {
          sig_name: "BasicSoftwareService",
          permalink: "/SIG/basicsoftwareservice/",
          gitee_link: "https://gitee.com/openharmony/hiviewdfx_hievent_lite",
          maillist: "dev@openharmony.io",
          status: "已成立",
        },
        {
          sig_name: "BlockChain",
          permalink: "/SIG/blockchain/",
          gitee_link: "https://gitee.com/openharmony-sig/security_block_chain",
          maillist: "dev@openharmony.io",
          status: "已成立",
        },
        {
          sig_name: "SoftBus",
          permalink: "/SIG/bluetooth/",
          gitee_link: "https://gitee.com/openharmony/communication_bluetooth",
          maillist: "dev@openharmony.io",
          status: "已成立",
        },
        {
          sig_name: "COMPILERUNTIME",
          permalink: "/SIG/compileruntime/",
          gitee_link: "https://gitee.com/openharmony/build",
          maillist: "dev@openharmony.io",
          status: "已成立",
        },
        {
          sig_name: "dengluyi",
          permalink: "/SIG/dengluyi/",
          gitee_link: "https://gitee.com/youngp7/openharmony-competition",
          maillist: "dengluyi@openharmony.io",
          status: "已成立",
        },
        {
          sig_name: "DevBoard",
          permalink: "/SIG/devboard/",
          gitee_link: "https://gitee.com/openharmony-sig/device_st",
          maillist: "dev@openharmony.io",
          status: "已成立",
        },
        {
          sig_name: "DataManagement",
          permalink: "/SIG/distributeddatamgr/",
          gitee_link: "https://gitee.com/openharmony/distributeddatamgr_appdatamgr",
          maillist: "dev@openharmony.io",
          status: "已成立",
        },
        {
          sig_name: "DistributedHardwareMgr",
          permalink: "/SIG/distributedhardwaremgr/",
          gitee_link: "https://gitee.com/openharmony/device_manager",
          maillist: "dev@openharmony.io",
          status: "已成立",
        },
        {
          sig_name: "AI",
          permalink: "/SIG/dllite_micro/",
          gitee_link: "https://gitee.com/openharmony-sig/dllite_micro",
          maillist: "dev@openharmony.io",
          status: "已成立",
        },
        {
          sig_name: "DriverFramework",
          permalink: "/SIG/driver/",
          gitee_link: "https://gitee.com/openharmony/drivers_framework",
          maillist: "sig_driver@openharmony.io",
          status: "已成立",
        },
        {
          sig_name: "EduDataSpecification",
          permalink: "/SIG/edu_data_specification/",
          gitee_link: "http://about:blank/",
          maillist: "dev@openharmony.io",
          status: "已成立",
        },
        {
          sig_name: "GraphicsandMedia",
          permalink: "/SIG/graphicsandmedia/",
          gitee_link: "https://gitee.com/openharmony/multimedia_media_standard",
          maillist: "dev@openharmony.io",
          status: "已成立",
        },
        {
          sig_name: "HILOG",
          permalink: "/SIG/hilog/",
          gitee_link: "https://gitee.com/openharmony/hiviewdfx_hilog",
          maillist: "dev@openharmony.io",
          status: "已成立",
        },
        {
          sig_name: "Industrial_Internet",
          permalink: "/SIG/industrial_internet/",
          gitee_link: "http://about:blank/",
          maillist: "sig_industry_network@openharmony.io",
          status: "已成立",
        },
        {
          sig_name: "Infrastructure",
          permalink: "/SIG/infrastructure/",
          gitee_link: "https://gitee.com/openharmony-sig/website",
          maillist: "sig_infrastructure@openharmony.io",
          status: "已成立",
        },
        {
          sig_name: "Kernel",
          permalink: "/SIG/kernel/",
          gitee_link: "https://gitee.com/openharmony/kernel_linux_build",
          maillist: "kernel@openharmony.io",
          status: "已成立",
        },
        {
          sig_name: "Knowledge",
          permalink: "/SIG/knowledge/",
          gitee_link: "https://gitee.com/openharmony-sig/knowledge",
          maillist: "sig-knowledge@openharmony.io",
          status: "已成立",
        },
        {
          sig_name: "linkboy",
          permalink: "/SIG/linkboy/",
          gitee_link: "https://gitee.com/openharmony-sig/linkboy",
          maillist: "sig_linkboy@openharmony.io",
          status: "已成立",
        },
        {
          sig_name: "MiniBlink",
          permalink: "/SIG/miniblink/",
          gitee_link: "http://about:blank/",
          maillist: "sig_miniblink@openharmony.io",
          status: "已成立",
        },
        {
          sig_name: "OpenBlock",
          permalink: "/SIG/openblock/",
          gitee_link: "https://gitee.com/openharmony-sig/openblock",
          maillist: "sig_openblock@openharmony.io",
          status: "已成立",
        },
        {
          sig_name: "python",
          permalink: "/SIG/python/",
          gitee_link: "https://gitee.com/openharmony-sig/python",
          maillist: "sig_python@openharmony.io",
          status: "已成立",
        },
        {
          sig_name: "QA",
          permalink: "/SIG/qa/",
          gitee_link: "http://about:blank/",
          maillist: "dev@openharmony.io",
          status: "已成立",
        },
        {
          sig_name: "Release",
          permalink: "/SIG/release/",
          gitee_link: "https://gitee.com/openharmony/release-management",
          maillist: "dev@openharmony.io",
          status: "已成立",
        },
        {
          sig_name: "RISCV",
          permalink: "/SIG/riscv/",
          gitee_link: "https://gitee.com/openharmony-sig/riscv",
          maillist: "dev@openharmony.io",
          status: "已成立",
        },
        {
          sig_name: "Security",
          permalink: "/SIG/security/",
          gitee_link: "https://gitee.com/openharmony-sig/security_selinux",
          maillist: "dev@openharmony.io",
          status: "已成立",
        },
        {
          sig_name: "SoftBus",
          permalink: "/SIG/softbus/",
          gitee_link: "https://gitee.com/openharmony/communication_dsoftbus",
          maillist: "dev@openharmony.io",
          status: "已成立",
        },
        {
          sig_name: "SystemApplication",
          permalink: "/SIG/systemapplications/",
          gitee_link: "https://gitee.com/openharmony/applications_systemui",
          maillist: "sig_systemapplication@openharmony.io",
          status: "已成立",
        },
        {
          sig_name: "Telephony",
          permalink: "/SIG/telephony/",
          gitee_link: "https://gitee.com/openharmony/telephony_core_service",
          maillist: "dev@openharmony.io",
          status: "已成立",
        },
      ],
    };
  },
  methods: {
    handleClick(tab, event) {
      console.log(tab, event);
    },
  },
};
</script>
<style>
.my-label {
  background: #e1f3d8;
}

.my-content {
  background: #fde2e2;
}
</style>
